﻿@using XStudio.WebFramework.Mvc.Extensions
<script type="text/javascript">

    var RoleUserList = {};
    RoleUserList.SuperFormatter = function (value, rec, index) {
        return value == 1 ? "是" : "否";
    }

    $(document).ready(function () {
        $(".tabs-panels .panel:visible").find('#tbRoleUserList').datagrid({ pagination: true });
    });

</script>
<div class="tt-attach">
    <ul class="op">
        <li></li>
    </ul>
</div>
<div style="padding: 5px 10px;">
    <table id="tbRoleUserList" style="height: auto" striped="true" rownumbers="true" fitColumns="true" title="" iconcls="icon-edit"
     idfield="UID" checkbox="true" url="@Url.Action("RoleUserListData", new { id = ViewBag.RoleID })">
        <thead>
            <tr>
                <th field="EmployeeName" width="100">
                    用户名称
                </th>
                <th field="Account" width="100">
                    用户帐号
                </th>
                <th field="InstitutionName" width="200">
                    部门
                </th>
                <th field="CreateDateTime" formatter="Common.DateTimeFormatter" width="100">
                    创建时间
                </th>
            </tr>
        </thead>
    </table>
</div>
